<template>
  <w-leaf :text="data.text" :expanded="data.expanded" :data="data">
    <tmpl-leaf v-for="item in data.children" :key="item.id" :data="item"></tmpl-leaf>
  </w-leaf>
</template>

<script>
  export default {
    name: 'tmpl-leaf',
    props: ['data'],
  }
</script>

<style>
</style>
